package com.zaofan.bean;

import com.zaofan.annotation.AutoIncrement;

public class UserImage {
	@AutoIncrement
	private int id;
	private int userId;
	private String image;

	/**
	 * 0 用户动态的图片 对应 dynamicId
	 * 
	 * 1 话题的回复的图片 对应 replyId
	 * 
	 * 2 动态的回复的图片 对应dynamicID
	 * 
	 */
	private int type;
	private int dynamicId;
	private int replyId;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getDynamicId() {
		return dynamicId;
	}

	public void setDynamicId(int dynamicId) {
		this.dynamicId = dynamicId;
	}

	public int getReplyId() {
		return replyId;
	}

	public void setReplyId(int replyId) {
		this.replyId = replyId;
	}

}
